
// playground.dto.ts
import { IsNotEmpty, IsString, IsNumber } from 'class-validator';

export class CreatePlaygroundDto {
  @IsNotEmpty()
  @IsString()
  name: string;

  @IsNotEmpty()
  @IsNumber()
  gymnasiumId: number;

  @IsNotEmpty()
  @IsNumber()
  createBy: number;

  @IsNotEmpty()
  @IsNumber()
  updateBy: number;
}
